﻿
@{
    Layout = null;
    ViewBag.Title = "登录";
}

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>@ViewBag.Title</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <link rel="shortcut icon" href="/favicon.ico">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">

    <link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.6.2/css/sm.min.css">
    <link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.6.2/css/sm-extend.min.css">

</head>
<body>
    <div class="page-group">
        <div class="page page-current">
            <!-- 你的html代码 -->
            <header class="bar bar-nav">
                <h1 class="title">登录</h1>
            </header>

            

            <div class="content">
                <form id="LoginForm" action="~/Mobile/Login" method="post">
                    <div class="card">
                        <div class="card-header">配送系统</div>
                        <div class="card-content">

                            <div class="list-block">
                                <ul>
                                    <!-- Text inputs -->
                                    <li>
                                        <div class="item-content">
                                            <div class="item-media"><i class="icon icon-form-name"></i></div>
                                            <div class="item-inner">
                                                <div class="item-title label">账号</div>
                                                <div class="item-input">
                                                    <input type="text" name="UserName" placeholder="Your name">
                                                </div>
                                            </div>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="item-content">
                                            <div class="item-media"><i class="icon icon-form-password"></i></div>
                                            <div class="item-inner">
                                                <div class="item-title label">密码</div>
                                                <div class="item-input">
                                                    <input type="password" name="Password" placeholder="Password" class="">
                                                </div>
                                            </div>
                                        </div>
                                    </li>
                                    <!-- Switch (Checkbox) -->
                                    <li>
                                        <div class="item-content">
                                            <div class="item-media"><i class="icon icon-form-toggle"></i></div>
                                            <div class="item-inner">
                                                <div class="item-title label">开关</div>
                                                <div class="item-input">
                                                    <label class="label-switch">
                                                        <input type="checkbox">
                                                        <div class="checkbox"></div>
                                                    </label>
                                                </div>
                                            </div>
                                        </div>
                                    </li>
                                </ul>
                            </div>

                        </div>

                        <div class="content-block">
                            <div class="row">
                                <div class="col-100"><a href="#" id="submitLogin" class="button button-big button-fill button-success">提交</a></div>
                            </div>
                        </div>
                        <div class="card-footer">
                        </div>
                    </div>
                </form>
                
            </div>
        </div>
    </div>

    <script type='text/javascript' src='//g.alicdn.com/sj/lib/zepto/zepto.min.js' charset='utf-8'></script>
    <script type='text/javascript' src='//g.alicdn.com/msui/sm/0.6.2/js/sm.min.js' charset='utf-8'></script>
    <script type='text/javascript' src='//g.alicdn.com/msui/sm/0.6.2/js/sm-extend.min.js' charset='utf-8'></script>

    <script>
        $.init();

        $("#submitLogin").click(function () {
            $("#LoginForm").submit();
        })
    </script>

</body>
</html>

